/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package panelAdmin;

import javax.swing.DefaultCellEditor;
import javax.swing.JComboBox;

/**
 *
 * @author DuyDang
 */
public class TypeComboBox extends DefaultCellEditor{
     private String[] item = new String[]{"Meat","Vegetable"};
    
    
    public TypeComboBox(JComboBox comboBox) {
        super(comboBox);
        for (String st:item){
            comboBox.addItem(st);
        }
    }
}
